package controllers

type UserController struct {
	BaseController
}



func (this *UserController) Get() {
	//this.Ctx.WriteString("<h1>User</h1>")
	this.Data["name"] = "I am TOP"
	this.Data["city"] = "中国-重庆"  //模板中 {{.city}} 调用
	this.Data["test"] = this.isLogin
	this.TplName = "user/index.html"  //views目录下的模板文件
}